package com.elong.businesstravel.protocol.login;

import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;

import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;

/**
 * 验证名片,上传名片
 * 
 * @author lenovo
 * 
 */
public class MemberAddcltCardRequest extends BaseELongHttpRequest {

	// //验证名片
	// $aRule['/app/service/memberaddcltcard'] = array(
	// 'version' => array ('type' => 'float'),
	// 'debug' => array ('type' => 'string','mast' => 'N'),
	// 'uid' => array ('type' => 'number'),
	// 'picdate' => array ('type' => 'string'),
	// 'deviceid' => array ('type' => 'string','mast' => 'N'),
	// 'token' => array ('type' => 'string','mast' => 'N')
	// );

	public MemberAddcltCardRequest(Context context, String picdate) {
		super(context);

		setCrypt(false);

		JSONObject jsonObject = new JSONObject();
		try {
			jsonObject.put("picdate", picdate);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		setRequestActionParam(ProtocolDef.ACTION_Memberaddcltcard, jsonObject);

	}

}
